{template header}
<div id="noticeBox">
	<div class="left">
		<span>站内公告：</span>
		<marquee behavior="scroll" direction="left">
			
		</marquee>
	</div>
</div>
{templatecss news}
<div class="w960 center clear mt1">
	<div class="pleft">
		<div class="flashnews">
			<script language='javascript'>
linkarr = new Array();
picarr = new Array();
textarr = new Array();
var swf_width=280;
var swf_height=192;
var files = "";
var links = "";
var texts = "";

{loop $webglobal['file_news']['flashnews'] $article}
linkarr[{$article['autoindex']}] = "{$article['arcurl']}";
picarr[{$article['autoindex']}]  = "{$article['litpic']}";
textarr[{$article['autoindex']}] = "{echo SpHtml2Text($article['title'])}";
{/loop}

for(i=1;i<picarr.length;i++) {
  if(files=="") files = picarr[i];
  else files += "|"+picarr[i];
}
for(i=1;i<linkarr.length;i++) {
  if(links=="") links = escape(linkarr[i]);
  else links += "|"+escape(linkarr[i]);
}

for(i=1;i<textarr.length;i++){
  if(texts=="") texts = textarr[i];
  else texts += "|"+textarr[i];
}
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ swf_width +'" height="'+ swf_height +'">');
document.write('<param name="movie" value="{WEBURLPATH}/images/news/bcastr3.swf"><param name="quality" value="high">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'">');
document.write('<embed src="{WEBURLPATH}/images/news/bcastr3.swf" wmode="opaque" FlashVars="bcastr_file='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'& menu="false" quality="high" width="'+ swf_width +'" height="'+ swf_height +'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>');
</script>
		</div><!-- /flashnews -->
		<div class="topcommand">
			<dl class="tbox">
				<dt><strong>{$webglobal['file_news']['category']['name']}频道推荐</strong></dt>
				<dd>
					<div class="onenews">
						{loop $webglobal['file_news']['onenews'] $new}
						<h2><a href="$new['arcurl']">{$new['title']}</a></h2>
						<p>$new['info']<a href="$new['arcurl']">[查看全文]</a></p>
						{/loop}
					</div><!-- /onenews -->
					<ul class="c2 ico1">
						{loop $webglobal['file_news']['fournews'] $article}
						<li><a href="{$article['arcurl']}">{$article['title']}</a></li>
						{/loop}
					</ul>
				</dd>
			</dl>
		</div><!-- /topcommand -->


		<div class="listbox">
	{loop $webglobal['file_news']['channelartlist'] $channel}
	<dl class="tbox">
		<dt><strong><a href="{$channel['typeurl']}">{$channel['typename']}</a></strong><span class="more"><a href="{$channel['typeurl']}">更多...</a></span></dt>
		<dd>
			<ul class="e6">
			{loop $channel['image'] $image}
			<li><a href="{$image['arcurl']}" title="{$image['title']}"><img src="{$image['litpic']}" alt="{$image['title']}"/></a></li>
			{/loop}
			</ul>
			<ul class="d2 ico3">
			{loop $channel['article'] $article}
			<li><span class="date">{$article['stime']}</span><a href="{$article['arcurl']}">{$article['title']}</a></li>
			{/loop}
			</ul>
		</dd>
	</dl>
	{/loop}
		</div><!-- /listbox -->
	</div><!-- /pleft -->

	<div class="pright">
        <div>
          <dl class="tbox">
				<dt><strong>栏目列表</strong></dt>
				<dd>
					<ul class="d6">
					  {loop $webglobal['file_news']['childCategory'] $channel}
						<li><a href='{$channel['typeurl']}'{if $channel['checked']} class="thisclass"{/if}>{$channel['typename']}</a></li>
					  {/loop}
					</ul>
				</dd>
			</dl>
        </div>
        
    	<div class="">
			<dl class="tbox">
				<dt><strong>热点图集</strong></dt>
				<dd>
					<ul class="e3">
					{loop $webglobal['file_news']['hot'] $image}
						<li>
							<a href="{$image['arcurl']}" class="preview"><img src="{$image['litpic']}" alt="{$image['title']}"/></a>
							<a href="{$image['arcurl']}" class="title">{$image['title']}</a>
							<span class="intro">更新:{$image['stime']}</span>
						</li>
					{/loop}

					</ul>
				</dd>
			</dl>
		</div>
		<div class="mt1">
			<dl class="tbox">
				<dt><strong>推荐图集</strong></dt>
				<dd>
					<ul class="e9">
					{loop $webglobal['file_news']['commend'] $image}
						<li><a href="{$image['arcurl']}"><img src="{$image['litpic']}" alt="{$image['title']}"/><span class="title">{$image['title']}</span></a></li>
					{/loop}
					</ul>
				</dd>
			</dl>
		</div>
	</div><!-- /pright -->
</div>

{template footer}